package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class demo1controller {

    @GetMapping("/abc")   //设置路径
    public  String test(){
        System.out.println("testing*****");
        return "ok.html";
    }
}
